package top.buyibuyi.course.service.admin.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.admin.DeleteAdminDao;
import top.buyibuyi.course.service.admin.DeleteAdminService;

@Service
public class DeleteAdminServiceImpl implements DeleteAdminService {

    @Autowired
    private DeleteAdminDao deleteAdminDao;

    @Override
    public Boolean deleteAdminById(int id) {
        return deleteAdminDao.deleteAdminById(id);
    }
}
